﻿Public Class CTPhieuThueCrt
#Region "Attributes"
    Private _MaCTPhieuThue As Integer
    Private _TenKhachHang As String
    Private _LoaiKhachHang As Integer
    Private _CMND As String
    Private _DiaChi As String
    Private _MaPhieuThue As Integer
    Private _checkTenKH As Boolean
    Private _checkLoaiKH As Boolean
    Private _checkCMND As Boolean
    Private _checkDiaChi As Boolean
    Private _checkMaPhiehue As Boolean



#End Region

#Region "Properties"
    Public Property MaCTPhieuThue() As Integer
        Get
            Return _MaCTPhieuThue
        End Get
        Set(ByVal value As Integer)
            _MaCTPhieuThue = value
        End Set
    End Property
    Public Property TenKhachHang() As String
        Get
            Return _TenKhachHang
        End Get
        Set(ByVal value As String)
            _TenKhachHang = value
        End Set
    End Property

    Public Property LoaiKhachHang() As Integer
        Get
            Return _LoaiKhachHang
        End Get
        Set(ByVal value As Integer)
            _LoaiKhachHang = value
        End Set
    End Property
    Public Property CMND() As String
        Get
            Return _CMND
        End Get
        Set(ByVal value As String)
            _CMND = value
        End Set
    End Property
    Public Property DiaChi() As String
        Get
            Return _DiaChi
        End Get
        Set(ByVal value As String)
            _DiaChi = value
        End Set
    End Property
    Public Property CheckTenKH() As Boolean
        Get
            Return _checkTenKH
        End Get
        Set(ByVal value As Boolean)
            _checkTenKH = value
        End Set
    End Property
    Public Property CheckDiaChi() As Boolean
        Get
            Return _checkDiaChi
        End Get
        Set(ByVal value As Boolean)
            _checkDiaChi = value
        End Set
    End Property
    Public Property checkCMND() As Boolean
        Get
            Return _checkCMND
        End Get
        Set(ByVal value As Boolean)
            _checkCMND = value
        End Set
    End Property
    Public Property CheckLoaiKH() As Boolean
        Get
            Return _checkLoaiKH
        End Get
        Set(ByVal value As Boolean)
            _checkLoaiKH = value
        End Set
    End Property
    Public Property CheckMaPhieuThue() As Boolean
        Get
            Return _checkMaPhiehue
        End Get
        Set(ByVal value As Boolean)
            _checkMaPhiehue = value
        End Set
    End Property
    Public Property MaPhieuThue() As Integer
        Get
            Return _MaPhieuThue
        End Get
        Set(ByVal value As Integer)
            _MaPhieuThue = value
        End Set
    End Property

#End Region

#Region "Constructors"
    Public Sub New()
        _MaCTPhieuThue = 0
        _TenKhachHang = ""
        _LoaiKhachHang = 0
        _DiaChi = ""
        _CMND = ""
        _checkTenKH = False
        _checkLoaiKH = False
        _checkDiaChi = False
        _checkCMND = False
    End Sub
#End Region
End Class
